-
Home
-
WooCommerce Fortnox Integration
-
4.3.0
-
Code
-
Classes
- WF_Orders
Total Complexity |
100 |
Dependencies |
7 |
Dependents |
9 |
Total lines |
724 |
Lines of code |
407 |
Logical lines of code |
220 |
Comment lines |
192 |
Methods |
31 |
Properties |
0 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
format_order_payload() |
A |
37 |
12 |
76 |
set_way_of_delivery() |
A |
53 |
9 |
21 |
create_order_row() |
S |
45 |
6 |
43 |
get_tax() |
S |
56 |
6 |
18 |
validate_order_items() |
S |
57 |
6 |
16 |
handle_currency() |
S |
59 |
5 |
14 |
order_exists() |
S |
61 |
5 |
11 |
sync() |
S |
51 |
4 |
26 |
format_order_rows() |
S |
57 |
4 |
16 |
get_custom_shipping() |
S |
51 |
3 |
25 |
get_shipping() |
S |
59 |
3 |
15 |
get_shipping_account() |
S |
59 |
3 |
15 |
handle_fees() |
S |
61 |
3 |
12 |
item_is_variation() |
S |
70 |
3 |
6 |
calculate_item_discount() |
S |
66 |
3 |
9 |
outside_eu() |
S |
70 |
3 |
6 |
get_way_of_delivery() |
S |
64 |
3 |
10 |
send_order_to_fortnox() |
S |
61 |
2 |
13 |
set_order_notice_flag() |
S |
72 |
2 |
5 |
set_payment_terms() |
S |
68 |
2 |
7 |
cancel_order() |
S |
69 |
2 |
6 |
get_sales_account() |
S |
73 |
2 |
4 |
has_notices() |
S |
78 |
1 |
3 |
is_synced() |
S |
78 |
1 |
3 |
get_regular_shipping() |
S |
70 |
1 |
6 |
administration_fee_names() |
S |
69 |
1 |
6 |
get_product_name() |
S |
80 |
1 |
3 |
set_order_as_synced() |
S |
79 |
1 |
3 |
mark_as_ready() |
S |
77 |
1 |
3 |
add_order_log() |
S |
78 |
1 |
3 |
get_order_number() |
S |
77 |
1 |
3 |